package com.example.figurehecheng.domain.dto;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="tourable对象", description="")
public class TourtableDTO {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    private Integer ShopId;
//    @ApiModelProperty(value = "视频")
//    private String video;

    @ApiModelProperty(value = "特色")
    private String feature;
    @ApiModelProperty(value = "历史")
    private String historyBackground;
//    @ApiModelProperty(value = "月份")
//    private String month;

    @ApiModelProperty(value = "起始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime openTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
    @ApiModelProperty(value = "价格")
    private Long price;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "名字")
    private String name;
    @ApiModelProperty(value = "旅游类型")
    private Integer tourType;
    @ApiModelProperty(value = "门票数量")
    private Integer number;
    @ApiModelProperty(value = "门票折扣")
    private Integer discount;
}
